clear all
use "Data\W5 (Finaldata Post-Imputation).dta"

*****Table 2 Regression Results of Confucian Values and the Priority Support for Democracy (PSFD)******
reg Democratic_Priority Family_Values Social_Values Political_Values, robust
est store m1

reg Democratic_Priority Family_Values Social_Values Political_Values i.country i.Year, robust
est store m2

reg Democratic_Priority Family_Values Social_Values Political_Values Country_Economic_Evaluation Family_Economic_Evaluation Social_Capital Political_Interest Political_Efficiency Election_Participation Internet_Use gender age education residence employment family_status household_income i.country i.Year, robust
est store m3

reg Democratic_Necessity Family_Values Social_Values Political_Values, robust
est store m4

reg Democratic_Necessity Family_Values Social_Values Political_Values i.country i.Year, robust
est store m5

reg Democratic_Necessity Family_Values Social_Values Political_Values Country_Economic_Evaluation Family_Economic_Evaluation Social_Capital Political_Interest Political_Efficiency Election_Participation Internet_Use gender age education residence employment family_status household_income i.country i.Year, robust
est store m6


esttab m1 m2 m3 m4 m5 m6 using "Results/Tables/Table 2 Regression Results of Confucian Values and the Priority Support for Democracy (PSFD).rtf", title("Table 2 Regression Results of Confucian Values and the Priority Support for Democracy (PSFD)") se mtitle(BaselineModel_1 BaselineModel_2 BaselineModel_3 BaselineModel_4 BaselineModel_5 BaselineModel_6) keep(Family_Values Social_Values Political_Values _cons) replace b(%12.3f) t(%12.2f) scalars (country Year N r2_a) star(* 0.1 ** 0.05 *** 0.01) nogap compress nonotes note("Note: Models (7) - (9) use Democratic Priority as the dependent variable, while Models (10) - (12) use Democratic Necessity as the dependent variable. Columns 1 and 4 include only the core independent variables, columns 2 and 5 add fixed effects, and columns 3 and 6 incorporate control variables. The estimator is OLS with fixed effects. The unit of analysis is the individual. Robust standard errors in parentheses. *p < 0.1, **p < 0.05, ***p < 0.01.") 